#pragma once
#include "CObject.h"
#include "Math.h"
#include "Global.h"
#include "Toolbullet.h"

class ITem : public CObject
{
protected:
	ItemStatus m_statusITem;
	Math m_Math;
	int m_Index;
	IDITem m_TypeItems;
	float m_TimeJump;
public:
	ITem(float x = 0.0f, float y = 0.0f);
	virtual void UpdateCollision(Toolbullet *Gun);
	virtual void Update(){};
	virtual void Draw(LPD3DXSPRITE SpriteHandler);
	~ITem();
};

